<?php

class ProductTransferPageLink extends Extension {
	function getProductTransfer(){
        $page = ProductTransferPage::get()->find('ClassName', 'ProductTransferPage');
        if($page) return $page;
    }
    
    function getProductTransferLink() {
        $page = $this->getProductTransfer();
        if($page) return $page->Link();
    }
	
    function getProductTransferStatement(){
        $page = ProductTransferStatementPage::get()->find('ClassName', 'ProductTransferStatementPage');
        if($page) return $page;
    }
    
    function getProductTransferStatementLink() {
        $page = $this->getProductTransferStatement();
        if($page) return $page->Link();
    }
}
